Architecting on AWS

==================================================================================================================

Using this command reference.

==================================================================================================================

1. Locate the section you need. Each section in this file matches a section in the lab instructions.

2. Replace items in brackets - [] - with appropriate values. For example, in this command you would replace the value - [JobFlowID] - (including the brackets) with the parameter indicated in the lab instructions:

elastic-mapreduce --list [JobFlowID]

would become

elastic-mapreduce --list abc123

3. Do NOT enable the Word Wrap feature in Windows Notepad or the text editor you use to view this file.


==================================================================================================================

Configure the EC2 Instance

==================================================================================================================


At the prompt type:

sudo yum -y install httpd php

------

At the prompt type:

sudo chkconfig httpd on

------

At the prompt, type:

wget https://s3-us-west-2.amazonaws.com/us-west-2-aws-training/awsu-ilt/architecting/v4.2/lab-3-working-with-ec2/static/phpapp.zip

------

At the prompt, type:

sudo unzip phpapp.zip -d /var/www/html/

------

At the prompt, type:

sudo service httpd start


------




Copyright 2014 Amazon Web Services, Inc. or its affiliates. All rights reserved.
